<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	/* $("#submit").on("click",function(){
		var title = $("#title").val();
		var context = $("#context").val();
		$.get("ti/activiti/submit",{title:title,context:context},function(data,status){
	    	alert(data);
	  	});
	}) */
});
</script>
<div>
	<form id="lxForm" action="${path}/ti/activiti/submit" method="post" >

	title:<input name="title" /> 
	
	context:<input name="context" /> 

	<button type="submit"> 提交申请</button><br/>
	#if( $list )
	   <span>我提交的申请</span><br/>
		#foreach ($item in $list)
			$velocityCount . ${item.taskName} -- ${item.TITLE} -- ${item.CONTEXT} -- ${item.CJR} -- ${item.state} <br/><!-- ID,lcslId -->
			<!-- <button  type='button' data-type='audit-button' data-taskid='${item.taskId}'>audit</button>  -->
		#end
	#end
</form>
	<!-- title:<input id="title"/>
	context:<input id="context"/>
	<button id="submit">submit</button><br/> -->
	
</div>